package yoyosys;

class Util {
    static long random(long begin, long end) {

        long rtn = begin + (long) (Math.random() * (end - begin));

        //如果返回的是开始时间和结束时间，则递归调用本函数查找随机值

        if (rtn == begin || rtn == end) {

            return random(begin, end);

        }

        return rtn;

    }
}
